package com.sc.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 课程表 实体类。
 *
 * @author JoeZhou
 * @since 2024-09-14
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ScheduleInsertDTO implements Serializable {


    /**
     * 课程ID
     */
    private Long courseId;

    /**
     * 开始时间
     */
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;


    /**
     * 状态
     */
    private Integer hours;

    /**
     * 备注
     */
    private String info;

}
